﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header.ascx.cs" Inherits="Sio.Mdm.Web.Header" %>
<%@ Import Namespace="Ext.Net.Utilities" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<ext:Panel ID="Panel5" runat="server" Border="false" BodyStyle="background: none;">
    <TopBar>
        <ext:Toolbar ID="ToolbarApp" Flat="true" runat="server" StyleSpec="border: none; ">
            <Items>
                <sio:Button ID="Button5" runat="server" Text="Konfiguracija" Icon="ComputerEdit">
                    <Listeners>
                        <Click Handler="window.open('../Instalacija/'); " />
                    </Listeners>
                </sio:Button>
                <ext:Label ID="Label1" runat="server" Text=" | ">
                </ext:Label>
                <sio:Button ID="Button1" runat="server" Text="Upravljanje podatkov" Icon="TableEdit">
                    <Listeners>
                        <Click Handler="window.open('../Organizacija/'); " />
                    </Listeners>
                </sio:Button>
                <ext:Label ID="Label2" runat="server" Text=" | ">
                </ext:Label>
                <sio:Button ID="Button2" runat="server" Text="Osebna stran" Icon="User">
                    <Listeners>
                        <Click Handler="window.open('../Uporabnik/'); " />
                    </Listeners>
                </sio:Button>
                <ext:ToolbarFill ID="ToolbarFill1" runat="server" />
                <ext:Label ID="Prijavljen" runat="server" Text="Prijavljen">
                </ext:Label>
                <ext:Label ID="Label3" runat="server" Text=" | ">
                </ext:Label>
                <sio:Button ID="Pomoc" runat="server" Text="Pomoč" Icon="Help">
                    <Menu>
                        <ext:Menu ID="Menu1" runat="server">
                            <Items>
                                <ext:MenuItem runat="server" Text="Prijava napak" Icon="TelephoneRed">
                                    <Listeners>
                                        <Click Handler="window.open('http://194.249.18.26/mantisbt/'); " />
                                    </Listeners>
                                </ext:MenuItem>
                            </Items>
                        </ext:Menu>
                    </Menu>
                </sio:Button>
                <ext:Label ID="Label5" runat="server" Text=" | ">
                </ext:Label>
                <sio:Button ID="Odjava" runat="server" Text="Odjava" Icon="LockStop">
                    <Listeners>
                        <Click Handler="#{DirectMethods}.LogoutClick(); window.top.location = '../Login.aspx'; " />
                    </Listeners>
                </sio:Button>
            </Items>
        </ext:Toolbar>
    </TopBar>
    <Items>
        <ext:HyperLink ID="HyperLink1" runat="server" ImageUrl="../images/logo.png" Target="_top"
            NavigateUrl="/" />
    </Items>
</ext:Panel>
